//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
#include "main.hpp"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
TDateTime jetzt,temp;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
  jetzt=Now();
}
//---------------------------------------------------------------------------

void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
     Label3->Caption=date2string(jetzt);
     try
     {
     temp=last_phase(jetzt,Newmoon);
     Label4->Caption=datestring(temp);
     }
     catch(...)
     {
     }
}
//---------------------------------------------------------------------------
